package com.wms.minio;

import org.springframework.core.io.InputStreamResource;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

public interface MinioService {

    //上传
    String upload(String bucketName, MultipartFile file);
    //下载
    ResponseEntity<InputStreamResource> download(String url) throws Exception;
    //删除
    String delete(String url);

}
